/**
 * group status
 * ========================================
 * js switch case ===
 */

export default {
  ALL: -1,
  NON_PAYMENT: 0,
  ING: 1,
  FINISH: 2,
  statusText: (status) => {
    switch (status) {
      case -1:
        return '全部'
      case 1:
        return '正在进行中'
      case 2:
        return '已完成'
      case 0:
        return '待支付'
    }
  }
}
